<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>docx</title>
    <script type="text/javascript" src="/static/js/jquery-2.0.2.min.js"></script>
    <script type="text/javascript" src="/static/ckeditor/ckeditor.js?t=C3HA5RM"></script>
    <script type="text/javascript" src="/static/ckeditor/adapters/jquery.js"></script>
</head>

<body>
    <form action="/index/docx/index" method="post">
        <textarea class="form-control" name="content" rows="3" placeholder=""></textarea>
        <input type="submit" value="提交" name="submit">
    </form>

    <script type="text/javascript">
        window.CKEDITOR_BASEPATH = '/static/ckeditor/';
        //CKEDITOR.config.filebrowserImageUploadUrl= '/article/upload_ck_img?uniq={$UNIQ}';
        //CKEDITOR.config.filebrowserLinkUploadUrl='/article/upload_ck_file?uniq={$UNIQ}';
        CKEDITOR.replace('content', { "width": 600, "height": 200 });
    </script>
</body>

</html>